package com.example.mybatisdemo1.mapper;

import com.example.mybatisdemo1.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BookMapper {
    int insertBook(Book book);

    List<Book> selectAllBook();

    int updateBook(Book book);

    int deleteBook(Book book);
}
